{% extends 'base.html' %}


{% from 'macros.html' import form_field %}
{% block title %}Basic{% endblock %}


{% block content %}
<div class="container">
    <h1 class="display-4">Baisc Form</h1>
    <hr>
    <form method="post">
        {{ form.csrf_token }}
        <div class="form-group">
            {{ form_field(form.username, class="form-control") }}
        </div>
        <div class="form-group">
            {{ form_field(form.password, class="form-control") }}
        </div>
        <div class="form-check">
            {{ form.remember(class="form-check-input") }}
            {{ form.remember.label }}
        </div>
        {{ form.submit(class="btn btn-primary") }}
    </form>
</div>
{% endblock %}